package com.dbz.service.Impl;

import com.dbz.dao.PermissionDao;
import com.dbz.service.PermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Set;
@Service
public class PermissionServiceImpl implements PermissionService {
    @Resource
    private PermissionDao permissionDao;
    @Override
    public Set<String> getPermissions(String userName) {
        return permissionDao.getPermissions(userName);
    }
}
